package com.hooya.fa.eu.biz.dao.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hooya.fa.eu.biz.dao.entity.MetaWarehouse;
import com.hooya.fa.eu.biz.dao.entity.PlaceMatchDict;
import com.hooya.fa.eu.biz.dao.entity.rxh.MetaStore;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description 字典相关mapper
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2024/1/30
 * @Version 1.0.0
 */
@Mapper
public interface DictMapper {


    @Select("select * from place_match_dict")
    List<PlaceMatchDict> getPlaceMatchList();

	@DS("fa_eu")
	@Select("select * from place_match_dict")
	List<PlaceMatchDict> getPlaceMatchListDaily();

    @Select("select * from meta_store")
    List<MetaStore> getMetaStoreList();

	@DS("fa_eu")
	@Select("select * from meta_store")
	List<MetaStore> getMetaStoreListDaily();

    @Select("select * from meta_warehouse")
    List<MetaWarehouse> getMetaWarehouseList();

	@DS("fa_eu")
	@Select("select * from meta_warehouse")
	List<MetaWarehouse> getMetaWarehouseListDaily();

}
